var arr = [1,2,3,4,5]
arr.length = 2

var str = 'abcde' // new Sring('abcde')
str.length = 2    //new Sring('abcde').length = 2 
//str.valueOf()  ====>>>>  'abcde'
// delete str.length
console.log(str);  